#include <QObject>
#include <QWidget>

class QCloseEvent;
class QString;
class QLabel;

class tCandidate;

class qRefWin: public QWidget
{
  Q_OBJECT
  
  public:
    qRefWin(QWidget *parent = 0);
    
  protected:
    void closeEvent(QCloseEvent *event);
    
  signals:
    void openWindow(bool checked);

};

class qWaitWin: public QWidget
{
  Q_OBJECT
  
  public:
    qWaitWin(QWidget *parent = 0);
    void setText(QString texto);
    
  private:
    QLabel *label;
};

class qInfo: public QWidget
{
  Q_OBJECT
  
  public:
    qInfo(QWidget *parent = 0);
    qInfo(tCandidate *sInfo,QWidget *parent = 0);
    
  protected:
    void closeEvent(QCloseEvent *event);
    
  signals:
    void openWindow(bool checked);
    
  public slots:
    void setInfo(tCandidate *sInfo);
    
  private:
    QLabel *label;
};
